
//import { getToken } from './cookieUtil'

//const token = getToken();
const hostURL = "http://localhost:5000";
//const hostURL = "http://89.10.52.30";
//const hostURL = "https://cxuu.top";

const apiURL = hostURL + "/api";
const uploadUrl = apiURL + "/upload/upload";
const msgHub = hostURL + "/msghub";

export const uploadConfig = {
  uploadUser: { SaveDir: "User", Type: "img" },
  uploadMember: { SaveDir: "Member", Type: "img" },
  uploadImages: { SaveDir: "Images", Type: "img" },
  uploadFiles: { SaveDir: "Files", Type: "attment" },
  uploadNotice: { SaveDir: "Notice", Type: "img" },
  //uploadHeaders: { Authorization: "Bearer " + token },
}

export const systemConfig = {
  uploadUrl: uploadUrl,
  apiURL: apiURL,
  hostURL: hostURL,
  msgHub: msgHub
}
